<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.js"></script>


      <input type="button" value="上传" onclick="doUpload()" />  
 
<script type="text/javascript">
  function doUpload() {  
          $.ajax({
            url : "http://gz.xiaoxiongwang.com/voiceTest/XmltoJson",
            type: 'GET',
            dataType: 'JSON',
            data: {
                      picsexml : "<a>555</a>",
                      testxml : 'notest'
                  },
          })
          .done(function(data) {
            console.log(data);
          })
          .fail(function() {
            console.log("error");
          })
          .always(function() {
            console.log("complete");
          });

   
  }
	


</script>
</body>
</html>